!!!
%html{:xmlns => "http://www.w3.org/1999/xhtml", "xmlns:fb" => "http://www.facebook.com/2008/fbml"}
  %head
    %meta{'name' => 'keywords', :content => "somekeywords"}/
    %title== #{WEBAPP_CONFIG['webapp_name']}
    -#= stylesheet_link_tag 'default','formtastic','formtastic_changes', :cache=>"base"
    -#= javascript_include_tag :defaults, :cache=>"base_js", :recursive=>true
    = stylesheet_link_tag 'default','formtastic','formtastic_changes'
    = javascript_include_tag :defaults
    = javascript_include_tag 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php'    
    = javascript_tag "window.api_key = '#{Facebooker.api_key}';"
    = javascript_tag "window.xd_receiver_location = '#{ENV['XD_RECEIVER_LOCATION']}';"
    = javascript_tag "window.facebook_authenticate_location = '#{ENV['FACEBOOK_AUTHENTICATE_LOCATION']}';"
    = javascript_include_tag 'facebook_scripts'
    = yield :javascripts
  %body
    #main
      .error-flash-box{:style=>'display:none;'}
        = flash[:error]
      .notice-flash-box{:style=>'display:none;'}
        = flash[:notice]
      #head{:style=>"background: transparent url(#{campaign_header_image}) no-repeat;"}
        #head-logo
          =link_to image_tag("logo_header_trans.gif",{:border=>"0"}), root_path;
        #head-right
          #menu-content
            #top-menu
              = render :partial => 'menus/top_menu'
              = render :partial => "sessions/session_options"
        #main-menu
          = render :partial => 'menus/main_menu'
      #featured-box
        = h yield(:featured_content)
      #content-container
        #content
          = yield :layout
        #side-bar
          = render :partial => 'side_bar/side_bar'
                
        #footer
          = render :partial=> 'menus/footer_menu'
          